package com.ingrid.javi.model;

import android.text.TextWatcher;
import android.widget.EditText;

public abstract class EditTextValidator {

	protected EditText editText;

	public EditTextValidator(EditText editText) {
		this.editText = editText;
	}

	public void addTextChangedListener(TextWatcher textWatcher) {
		this.editText.addTextChangedListener(textWatcher); 
		
	}

	public abstract boolean isValid();

}
